﻿using System;
using System.ComponentModel.DataAnnotations.Schema;

namespace OAuth.Server.Domain.Entities
{
    /// <summary> 帐号登录日志表 </summary>
    [Table("AccountLogin")]
    public class TAccountLogin
    {
        /// <summary> 帐号Id </summary>
        public Guid AccountId { get; set; }
        /// <summary> 帐号类型 </summary>
        public int AccountType { get; set; }
        /// <summary> 登录平台 </summary>
        public byte PlatformType { get; set; }
        /// <summary> 登录状态 </summary>
        public byte State { get; set; }
        /// <summary> 备注 </summary>
        public string Remark { get; set; }
        public string UserAgent { get; set; }
        public string ClientIp { get; set; }
        public DateTime CreateTime { get; set; }
    }
}
